<?php

require_once('include/config.php');
require_once('include/db.php');

$Db = Db::getInstance();
$Db->Connect();
$registros = $Db->Get("SELECT * FROM tiporecurso");
$Db->Disconnect();

$smarty->assign('pageid','tiposrecurso');
$smarty->assign('title','Seleccione Tipo de Recurso');
$smarty->assign('tiposrecurso', $registros);

$smarty->display('tiposrecurso.tpl');

?>